<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1>a.html</h1>
<a href="http://localhost:8080/path/b1/b2/b.html">绝对路径跳转到b.html</a><br/>
<!--默认的参考/相对路径问当前网页的路径 即当前为http://localhost:8080/path/-->
<a href="b1/b2/base.html">默认参考/相对路径跳转到base.html</a><br/>
<!--路径开头的'/'在浏览器被解析为http://ip:port/-->
<a href="/path/b1/b2/b.html">ip:port路径跳转到b.html</a><br/>
<a href="pathServlet">Servlet转发到base.html</a><br/>
<a href="redirectServlet">Servlet重定向到base.html</a>
</body>
</html>